package com.feri.sh.core.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_question")
public class Question {

    @TableId(type = IdType.AUTO)
    private  Integer id; //主键
    private  Integer uid; //用户id
    private  String name;  //问题名称
    private  String details;//问题详情
    private  Integer count;//问题的回答数量
    private  Date   ctime;//创建时间
}
